unit USobre;

interface

uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
  Buttons, ExtCtrls, ShellApi;

type
  TfSobre = class(TForm)
    Panel1: TPanel;
    Panel2: TPanel;
    Panel3: TPanel;
    Copyright: TLabel;
    Comments: TLabel;
    Version: TLabel;
    OKButton: TButton;
    Image2: TImage;
    Lprograma: TLabel;
    Label1: TLabel;
    Label3: TLabel;
    procedure OKButtonClick(Sender: TObject);
    procedure Label3Click(Sender: TObject);
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fSobre: TfSobre;

implementation

uses UrlMon;
{$R *.dfm}

procedure TfSobre.OKButtonClick(Sender: TObject);
begin
  Close;
end;

procedure TfSobre.Label3Click(Sender: TObject);
var Mail : String;
begin
   Mail := 'mailto:linktec@hotlink.com.br';
   ShellExecute(GetDesktopWindow,'open',pchar(Mail),nil,nil,sw_ShowNormal);
end;

procedure TfSobre.FormClose(Sender: TObject; var Action: TCloseAction);
begin
 fSobre:=nil;
 Self.Release;
end;

procedure TfSobre.FormCreate(Sender: TObject);
begin
 Self.Caption:= 'Sobre ' + Application.Title;
 Lprograma.Caption:= Application.Title;
end;

end.

